package com.icesoft.system.auth.credential;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@Accessors(chain = true)
public class PhoneCredential {

	private String traceId;

	@NotNull(message = "手机号不能为空")
	private String phone;

	@NotNull(message = "短信验证码不能为空")
	private String code;

	private boolean rememberMe;
}
